package org.jeecg.modules.demo.ch.service;

import org.jeecg.modules.demo.ch.entity.ChDailyRecordDetails;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 每日记录明细表
 * @Author: jeecg-boot
 * @Date:   2022-11-29
 * @Version: V1.0
 */
public interface IChDailyRecordDetailsService extends IService<ChDailyRecordDetails> {

  /**
   * 通过主表id查询子表数据
   *
   * @param mainId 主表id
   * @return List<ChDailyRecordDetails>
   */
	public List<ChDailyRecordDetails> selectByMainId(String mainId);

    /**
     * 通过姓名获取本周所有的工作项
     * @param realName
     * @param beiginTime
     * @param endTime
     * @return
     */
    List<ChDailyRecordDetails> getThisWeekAllItemByName(String realName,String beiginTime,String endTime);
}
